import { defineStore } from 'pinia'
//import { useAppStore } from './app.js'

export const usePageParamStore = defineStore('page-param',{
	state() {
		return {
			
			project_organize:{
				id: 15,
				title:'乐从华美达酒店招聘宴会日结兼职',
				start_date: "2023-07-09"
			},
			task_details:{
				id:0,
				title:'乐从华美达酒店招聘宴会日结兼职',
				start_date: "2023-07-09"
			},
			details_preview:false,
			enroll:{
				
			},
			job_state:{
				
			},
			project:{
				id: 15,
				start_date: "2023-07-09",
				title: "天河华夏新中源大酒店",
				jobs:[
						{
							end_time: "20:30:00",
							id: 57,
							name: "调查问卷",
							num: 8,
							price: 16,
							price_type: "1",
							project_id: 15,
							settle_type: "1",
							start_time: "12:30:00",
						},
						{
							end_time: "16:30:00",
							id: 58,
							name: "中餐厅服务员",
							num: 8,
							price: 16,
							price_type: "1",
							project_id: 15,
							settle_type: "1",
							start_time: "08:00:00",
						},
						{
							end_time: "21:00:00",
							id: 59,
							name: "举牌",
							num: 8,
							price: 16,
							price_type: "1",
							project_id: 15,
							settle_type: "1",
							start_time: "16:00:00",
						},
						{
							end_time: "21:00:00",
							id: 60,
							name: "中餐厅服务员",
							num: 8,
							price: 16,
							price_type: "1",
							project_id: 15,
							settle_type: "1",
							start_time: "13:00:00",
						}
				],
			},
			task:{
				
			},
			job:null
		}
	}
})